/* HomePage组件样式 */

/* 页面容器 */
.home-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 100%;
  overflow-x: hidden;
}

/* 容器类 - 自适应宽度并居中 */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 1920px;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 100%;
    padding: 0 calc((100% - 1600px) / 2);
  }
}

/* 英雄区域 */
.hero {
  background: linear-gradient(to right, #2B6CB0, #4299E1);
  color: white;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* 功能区域 */
.features {
  padding: 4rem 0;
}

.features h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1A202C;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 目的地区域 */
.destinations {
  padding: 4rem 0;
  background-color: #F7FAFC;
}

.destinations h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1A202C;
}

/* 下载区域 */
.download {
  padding: 4rem 0;
  background-color: #2B6CB0;
  color: white;
  text-align: center;
}

.download h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download p {
  font-size: 1.125rem;
  max-width: 28rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* 页脚 */
.footer {
  padding: 3rem 0;
  background-color: #1A202C;
  color: white;
}

.footer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #A0AEC0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: white;
}

.footer .border-t {
  border-top: 1px solid #2D3748;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: #A0AEC0;
}